
import 'package:json_annotation/json_annotation.dart';
import 'package:reabammendian/src/reabam/operation/bean/base/rb_request.dart';
import 'package:reabammendian/src/reabam/operation/bean/base/rb_response.dart';

import 'Request_update_serversocket.dart';

//定义生成的文件 flutter pub run build_runner build --delete-conflicting-outputs
part 'Request_server_ip_list.g.dart';

@JsonSerializable(explicitToJson: true)
class RequestGetServerIPList extends RBBaseRequest{

  String? companyId;

  RequestGetServerIPList(this.companyId):super();

  factory RequestGetServerIPList.fromJson(Map<String, dynamic> json) => _$RequestGetServerIPListFromJson(json);
  Map<String, dynamic> toJson() => _$RequestGetServerIPListToJson(this);
}


@JsonSerializable(explicitToJson: true)
class ResponseGetServerIPList extends RBBaseResponse{

  BeanGetSocketListData? data;

  ResponseGetServerIPList({this.data}); //添加固定格式

  factory ResponseGetServerIPList.fromJson(Map<String, dynamic> json) => _$ResponseGetServerIPListFromJson(json);
  Map<String, dynamic> toJson() => _$ResponseGetServerIPListToJson(this);
}


@JsonSerializable(explicitToJson: true)
class BeanGetSocketListData {

  List<BeanSocketPrintSetDTOS>? printSetDTOS;

  BeanGetSocketListData({this.printSetDTOS}); //添加固定格式

  factory BeanGetSocketListData.fromJson(Map<String, dynamic> json) => _$BeanGetSocketListDataFromJson(json);
  Map<String, dynamic> toJson() => _$BeanGetSocketListDataToJson(this);

}

